package com.bdqn.zhang.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by 任 on 2019/4/10.
 */
public class Users implements Serializable {
    private String userId;
    private String name;
    private Integer gender;
    private Date createtime;
    private String password;
    private Integer status;
    private Set<RealEstate> realEstates=new HashSet<RealEstate>(0);
    public Users() {
    }

    public Users(String userId, String name, Integer gender, Date createtime, String password, Integer status, Set<RealEstate> realEstates) {
        this.userId = userId;
        this.name = name;
        this.gender = gender;
        this.createtime = createtime;
        this.password = password;
        this.status = status;
        this.realEstates = realEstates;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Set<RealEstate> getRealEstates() {
        return realEstates;
    }

    public void setRealEstates(Set<RealEstate> realEstates) {
        this.realEstates = realEstates;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


}
